home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- if(_root.dead == false && _root.score >= _root.goal)
- {
- _root.money += _root.reward;
- _root.m = "$" + _root.money;
- r = "$" + _root.reward;
- _root.money += _root.score;
- _root.m = "$" + _root.money;
- _root.mission += 1;
- this.gotoAndStop(1);
- }
- else
- {
- this.gotoAndStop(2);
- _root.score = 0;
- if(_root.goal > 0 && _root.dead == false)
- {
- _root.s = "You Got: " + _root.s + " You Needed: $" + _root.goal;
- }
- else
- {
- _root.s = "$0";
- }
- }
- }
-